Skip to content

Canonical RFC links + misc#636

Merged
tobixen merged 3 commits intomasterfrom
issue635
Mar 11, 2026
Merged

Canonical RFC links + misc#636
tobixen merged 3 commits intomasterfrom
issue635

Conversation

@tobixen
Copy link
Copy Markdown
Member

@tobixen tobixen commented Mar 10, 2026

This solves issue #635

I'm also piggy-backing some other documentation changes in this pull request

tobixen added 2 commits March 10, 2026 22:37
... and :rfc:-references in the documentation.  Fixes #635
Seems like a  was missing here - that explains why the document didn't get linked up properly on the readthedocs site
Copy link
Copy Markdown
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a quick review on the :rfc: role usage.

Comment thread caldav/calendarobjectresource.py Outdated
"""
Returns True if this object is a request, see
https://www.rfc-editor.org/rfc/rfc2446.html#section-3.2.2
https://datatracker.ietf.org/doc/html/rfc2446#section-3.2.2
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make these pretty in the API docs. See https://caldav.readthedocs.io/latest/caldav/calendarobjectresource.html#caldav.calendarobjectresource.CalendarObjectResource.is_invite_request for example.

Suggested change
https://datatracker.ietf.org/doc/html/rfc2446#section-3.2.2
:rfc:`2446#section-3.2.2`.

Comment thread caldav/calendarobjectresource.py Outdated
"""
Returns True if the object is a reply, see
https://www.rfc-editor.org/rfc/rfc2446.html#section-3.2.3
https://datatracker.ietf.org/doc/html/rfc2446#section-3.2.3
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check https://caldav.readthedocs.io/latest/caldav/calendarobjectresource.html#caldav.calendarobjectresource.CalendarObjectResource.is_invite_reply

Suggested change
https://datatracker.ietf.org/doc/html/rfc2446#section-3.2.3
:rfc:`2446#section-3.2.3`.

Comment thread caldav/collection.py Outdated
The `Calendar` object is used to represent a calendar collection.
Refer to the RFC for details:
https://tools.ietf.org/html/rfc4791#section-5.3.1
https://datatracker.ietf.org/doc/html/rfc4791#section-5.3.1
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://caldav.readthedocs.io/latest/caldav/collection.html#caldav.collection.Calendar

Suggested change
https://datatracker.ietf.org/doc/html/rfc4791#section-5.3.1
:rfc:`4791#section-5.3.1`.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know whether you include this file in the docs. It appears to be a TODO list. If so, then this is good, otherwise let me know and we should use the reStructuredText syntax instead.

Comment thread docs/source/about.rst Outdated

RFC 4791, 2518, 5545, 6638 et al
--------------------------------
:rfc:`4791`, 2518, 5545, 6638 et al
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just make this heading generic.

Also headings should not have links in them.

Suggested change
:rfc:`4791`, 2518, 5545, 6638 et al
RFC compliance

Comment thread docs/source/about.rst Outdated
scope of this library is basically to cover RFC 4791/4918, the actual
:rfc:`4791` (CalDAV) outlines the standard way of communicating with a
calendar server. :rfc:`4791` is an extension of :rfc:`4918` (WebDAV). The
scope of this library is basically to cover :rfc:`4791`/:rfc:`4918`, the actual
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the rst link syntax won't work without spaces. Haven't checked. In any case, this is grammatically correct.

Suggested change
scope of this library is basically to cover :rfc:`4791`/:rfc:`4918`, the actual
scope of this library is basically to cover :rfc:`4791` and :rfc:`4918`, the actual

Comment thread docs/source/about.rst Outdated
RFC 6638/RFC 6047 is extending the CalDAV and iCalendar protocols for
scheduling purposes, work is in progress to support RFC 6638. Support
for RFC 6047 is considered mostly outside the scope of this library,
:rfc:`6638`/:rfc:`6047` is extending the CalDAV and iCalendar protocols for
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:rfc:`6638`/:rfc:`6047` is extending the CalDAV and iCalendar protocols for
:rfc:`6638` and :rfc:`6047` extend the CalDAV and iCalendar protocols for

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the :rfc: role for RFCs throughout this new document.

@tobixen
Copy link
Copy Markdown
Member Author

tobixen commented Mar 10, 2026

Right, I forgot that the docstrings are also rst text

@tobixen tobixen merged commit a4fd720 into master Mar 11, 2026
9 checks passed
@tobixen tobixen deleted the issue635 branch March 11, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants